<%= render :partial =>'/store/toolbar'%>
<div id="content_container">
<div class="hot_container">
  <div class="title"><span class='title_content'><%=@style.name%>颜色列表</span>

  </div>
  <%= render :partial =>'/materials/hot_list',:object=>@materials%>
  <% if editor? %>
    <div class="toolbar" style="clear: both;" >
      <%= link_to '新增颜色', new_style_material_path,:class=>"action_add" %>|
      <%= link_to '返回', back_url,:class=>'action_back' %>
    </div>
  <% end %>
</div>
</div>